import { HTMLDecode } from "@/utils";
// css
import styles from '@/styles/CommonDetail.module.scss';

export default function DetailEditor({ data }) {
    return (
        <div className={styles['detail']}>
            <article className={styles['editor']} dangerouslySetInnerHTML={{ __html: HTMLDecode(data[0].value) }}></article>
        </div>
    )
}